# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'MyGui.ui'
#
# Created: Sun Aug 14 20:56:17 2011
#      by: PyQt4 UI code generator 4.5.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(885, 638)
        self.progressBar = QtGui.QProgressBar(Form)
        self.progressBar.setGeometry(QtCore.QRect(180, 10, 571, 23))
        self.progressBar.setProperty("value", QtCore.QVariant(24))
        self.progressBar.setObjectName("progressBar")
        self.pushButton_3 = QtGui.QPushButton(Form)
        self.pushButton_3.setGeometry(QtCore.QRect(780, 590, 75, 23))
        self.pushButton_3.setObjectName("pushButton_3")
        self.ComList = QtGui.QListWidget(Form)
        self.ComList.setGeometry(QtCore.QRect(10, 40, 91, 192))
        self.ComList.setObjectName("ComList")
        self.Thermo = Qwt5.QwtThermo(Form)
        self.Thermo.setGeometry(QtCore.QRect(780, 40, 71, 511))
        self.Thermo.setAlarmColor(QtGui.QColor(255, 0, 0))
        self.Thermo.setAlarmLevel(30.0)
        self.Thermo.setPipeWidth(19)
        self.Thermo.setObjectName("Thermo")
        self.Tabs = QtGui.QTabWidget(Form)
        self.Tabs.setGeometry(QtCore.QRect(110, 40, 661, 541))
        self.Tabs.setTabPosition(QtGui.QTabWidget.South)
        self.Tabs.setObjectName("Tabs")
        self.Terminal = QtGui.QWidget()
        self.Terminal.setObjectName("Terminal")
        self.Cmd = QtGui.QLineEdit(self.Terminal)
        self.Cmd.setGeometry(QtCore.QRect(10, 480, 551, 20))
        self.Cmd.setObjectName("Cmd")
        self.SendCmd = QtGui.QPushButton(self.Terminal)
        self.SendCmd.setGeometry(QtCore.QRect(570, 480, 75, 23))
        self.SendCmd.setObjectName("SendCmd")
        self.Query = QtGui.QTextEdit(self.Terminal)
        self.Query.setGeometry(QtCore.QRect(10, 10, 631, 461))
        self.Query.setObjectName("Query")
        self.Tabs.addTab(self.Terminal, "")
        self.Plot = QtGui.QWidget()
        self.Plot.setObjectName("Plot")
        self.mplwidget = MatplotlibWidget(self.Plot)
        self.mplwidget.setGeometry(QtCore.QRect(10, 40, 631, 421))
        self.mplwidget.setObjectName("mplwidget")
        self.pushButton = QtGui.QPushButton(self.Plot)
        self.pushButton.setGeometry(QtCore.QRect(10, 480, 75, 23))
        self.pushButton.setObjectName("pushButton")
        self.pushButton_2 = QtGui.QPushButton(self.Plot)
        self.pushButton_2.setGeometry(QtCore.QRect(90, 480, 75, 23))
        self.pushButton_2.setObjectName("pushButton_2")
        self.pushButton_4 = QtGui.QPushButton(self.Plot)
        self.pushButton_4.setGeometry(QtCore.QRect(570, 480, 75, 23))
        self.pushButton_4.setObjectName("pushButton_4")
        self.ResetButton = QtGui.QPushButton(self.Plot)
        self.ResetButton.setGeometry(QtCore.QRect(130, 10, 75, 23))
        self.ResetButton.setObjectName("ResetButton")
        self.Tabs.addTab(self.Plot, "")

        self.retranslateUi(Form)
        self.Tabs.setCurrentIndex(0)
        QtCore.QObject.connect(self.pushButton_3, QtCore.SIGNAL("clicked()"), Form.close)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_3.setText(QtGui.QApplication.translate("Form", "Close", None, QtGui.QApplication.UnicodeUTF8))
        self.SendCmd.setText(QtGui.QApplication.translate("Form", "Send", None, QtGui.QApplication.UnicodeUTF8))
        self.Tabs.setTabText(self.Tabs.indexOf(self.Terminal), QtGui.QApplication.translate("Form", "Tab 1", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("Form", "Start", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_2.setText(QtGui.QApplication.translate("Form", "Stop", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_4.setText(QtGui.QApplication.translate("Form", "A2D", None, QtGui.QApplication.UnicodeUTF8))
        self.ResetButton.setText(QtGui.QApplication.translate("Form", "Reset", None, QtGui.QApplication.UnicodeUTF8))
        self.Tabs.setTabText(self.Tabs.indexOf(self.Plot), QtGui.QApplication.translate("Form", "Tab 2", None, QtGui.QApplication.UnicodeUTF8))

from PyQt4 import Qwt5
from matplotlibwidget import MatplotlibWidget
